<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>旺仔小站</title>
<link rel="stylesheet" href="/static/layui-v2.4.5/layui/css/layui.css">
<link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/res/common/css/global.css">
<script type="text/javascript" src="/static/jquery/jquery-3.3.1/jquery-3.3.1.min.js"></script>
<style type="text/css">
    a.toPageLink{
        font-size: 40px;
    }
</style>
</head>
<body>
<div>
    <p>hello world</p>
    <p style="color: #ff0000;">这是一个手机端web app，请使用手机查看效果更佳哦</p>
    <a onclick="toLoginPage();" class="toPageLink" href="javascript:void(0);">登录页面</a><br/>
    <a onclick="toRegisterPage();" onclick="toLoginPage();" class="toPageLink" href="javascript:void(0);">注册页面</a><br/>
    <a onclick="toValiCodePage();" class="toPageLink" href="javascript:void(0);">验证码页面</a><br/>
    <a onclick="toNewPasswordPage();" class="toPageLink" href="javascript:void(0);">重置密码页面</a><br/>
</div>

<script src="/static/layui-v2.4.5/layui/layui.js"></script>
<script type="text/javascript">
    var toLoginPage=function(){
        top.location.href='/page/user/login.html';
    };
    var toRegisterPage=function(){
        top.location.href='/page/user/register.html';
    };
    var toValiCodePage=function(){
        top.location.href='/page/user/valiCode.html';
    }
    var toNewPasswordPage=function(){
        top.location.href='/page/user/newPassword.html';
    }
$(function () {
    var layer;
    layui.use('layer', function () {
        layer=layui.layer;
    });
});
</script>
</body>
</html>